import axios from '../utils/request'

const base = {
  baseUrl: 'http://wthrcdn.etouch.cn',
  weather_mini: '/weather_mini?city='
}
// ?city=
const api = {
  getWeatherMessage (params) {
    return axios.get(base.baseUrl + base.weather_mini + params)
  }
}

export default api
